<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
	<script type="text/javascript" src="/js/util.js"></script>
</head>
<script type="text/javascript">

var arguments = window.dialogArguments;
var message = arguments[0]

$(document).ready(function() {
	$("#except").html(message);
});

function submitSelector() {
	window.returnValue = $("#selector").val();
	beforeWindowClose();
	window.close();
}

function beforeWindowClose() {
	if(window.returnCallback) {
		window.returnCallback(window.returnValue);
	}
	window.onbeforeunload = null;
	return true;
}
function close() {
	beforeWindowClose();
	window.close();
}
</script>

<body onunload="beforeWindowClose()">
<div class="addarea">
<pre id="except"></pre>
<input type="button" onclick="close()" value="关闭"/>
</div>
</body>